package com.wc.alorithm_blue_bridge._模拟.Q3865;

import java.util.Scanner;

/**
 * @Author congge
 * @Date 2023/11/22 13:00
 * @description Alice 与 Bob 的爱恨情仇
 * https://www.lanqiao.cn/problems/3865/learning/?page=1&first_category_id=1
 */
public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int k = sc.nextInt();
        int[] array = new int[n];
        for (int i = 0; i < n; i++) {
            array[i] = sc.nextInt();
        }
        long sum = radixSum(array, k);
        if (sum % 2 == 1){
            System.out.println("Alice");
        }else {
            System.out.println("Bob");
        }
    }

    public static long radixSum(int[] array, int radix) {
        long ans = 0;
        for (int i = 0; i < array.length; i++) {
            while (array[i] != 0) {
                if (radix == 1) {
                    ans += array[i];
                    array[i] = 0;
                    continue;
                }
                ans += array[i] % radix;
                array[i] /= radix;
            }
        }
        return ans;
    }
}
